/*
 * Copyright (c) 2006-2018, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2018-11-06     SummerGift   first version
 */

#include <rtthread.h>
#include <rtdevice.h>
#include <board.h>
#include <jump2app.h>

int main(void)
{
    rt_uint8_t cnt = 5;
    rt_kprintf("bootloader start\n");
    while (cnt)
    {
        rt_thread_mdelay(1000);
        rt_kprintf("cnt %d\n", --cnt);
    }
    rt_kprintf("jump to app...\n\n");
    jump2app();
    return RT_EOK;
}
